package java_mysql;
//注意需要导入以下驱动:
// mysql-connector-java-5.1.27.jar
public class main {

	public static void main(String[] args) 
	{
		JDBCOperation jdb=new JDBCOperation();
		    jdb.getAll();//查
		    jdb.insert(new Student("Achilles", "Male", "111"));//增
		    jdb.getAll();
		    jdb.update(new Student("Bean", "", "7"));//改
//		    jdb.delete("Achilles");//删
		    jdb.getAll();
		}
		
		

}
